package triePackage;

public class TrieReference implements ITrieReference{
	
	final private boolean found;
	final private Object value;
	final int dept;
	
	TrieReference(Object value, int dept
			, boolean found){
		this.value = value;
		this.dept = dept;
		this.found = found;
	}

	@Override
	public boolean getFound() {
		return found;
	}

	@Override
	public Object getValue() {
		return value;
	}

}
